// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './index/flexable'
import './index/reset.css'
import 'vant/lib/button/style';
import {
  Button,
  Col,
  Row,
  Search,
  Tab,
  Tabs,
  NoticeBar,
  Swipe,
  SwipeItem,
  Sticky,
  Tabbar,
  TabbarItem,
  Grid,
  GridItem,
  Sidebar,
  SidebarItem,
  Lazyload,
  Skeleton,
  Panel,
  Overlay,
  Divider,
  Image as VanImage,
  NavBar,
  Icon,
  CheckboxGroup,
  Checkbox,
  Card,
Stepper,
  Form,
  Field
} from 'vant';
Vue.use(Sidebar).use(Field).use(Form).use(Stepper).use(Card).use(CheckboxGroup).use(Checkbox).use(Icon).use(NavBar).use(VanImage).use(Divider).use(Overlay).use(Panel).use(Skeleton).use(SidebarItem).use(Lazyload).use(Button).use(Col).use(Row).use(Search).use(Tab).use(Tabs).use(NoticeBar).use(Swipe).use(SwipeItem).use(Sticky).use(Tabbar).use(TabbarItem).use(Grid).use(GridItem).use(Sidebar).use(SidebarItem);

Vue.config.productionTip = true

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
